<?php
define('YEAR_CACHE_TIME',60*24*365); //


//status_code
define('FRAMEWORK_DEBUG',111); //debug 状态
define('HTTP_SUCCESS',200);
define('REQUEST_PARAM_ERROR',400);  //请求的参数有误
define('AUTHORIZATION_ERROR',401);  //认证失败
define('AUTH_SIGN_ERROR',405);  //sign  token 认证失败
define('NOT_FOUND_RESULT',404); //结果为找到
define('SMS_ERROR',450); //短信验证码统一错误
define('OPENID_HAS_EXIST',460);   // openid 已经存在
define('UID_IS_EMPTY',470);   //UID 为空
define('REALNAME_IS_EMPTY',471);   //真实姓名 为空
define('ALIPAY_IS_EMPTY',472);   //支付帐号 为空
define('HAD_DONE_BEFORE',480);   //行为之前已经做过
define('PASSWORDS_NOT_SAME',490);   //两次密码不正确
define('SYSTEM_ERROR',500); //系统级错误
define('USERNAME_HAS_EXIST',555); //用户已经存在
define('VER_CODE_ERROR',570); //验证码错误
define('FILE_UPLOAD_ERROR',440); //文件上传错误
//rsa——key
define('alipayPrivate_key','MIICXAIBAAKBgQCn2iheu7vremudexRNF5n7a2FwEVNq26JpoHCWGoatkNKyF4gYWe0A/6wN82TftRLfUyRUOITp/1XIQpPbQgK5hhAvWsy9K+z+VZE+nk8FbZPaxF0uer3u1HkeH4uqWbgxKPMFLlr+e/EFAsqEjX3Nr+6Kj/Hpovbg9GOQDtO0MwIDAQABAoGALEkPu6bWdtNuzzbo7Uob00zKgXHgy2G1YR72dXP8MpDyNhClVJ9tO4U5VNjxtWAl4YwjGqFq1/4JGPQP5Jpu8yx8bPO4JIYqWY29mIVjBZrmVCGe8N7Qg+GQZNcCS2uKv8EyhHpMIG4dprJ3TzoJ1NFyZq9EMquHBGwwW37N5dkCQQDP746meQSLTbtBpX4G0xCbufS+XTgF7RZige4nDudjZ5tzYXzS1Xkl7gNMT/fUKmj6qw5fKbZ+Erh0B+drnkcPAkEAzqavH2m7s8/QJGlyOiDQgNZJGhMsP3ddwHHjc0+Vf0qwF99LnR2EWvDUFLM6smko0O6AD0d3xWp5M9jXzhvgnQJAdObcjzEoYd0AswaElPeitbpVI5UrAwHo/NbJeoIBirxcBAFB+RJ1OuLWTdgDn+9797mlqdC8vaJuuyUacUGZ9wJBALz4nAfjzmudy76gVn5lZ4WJbwvTIJFg/HBxNQdLbXAbwm/yF9kzFsd6ltXfF/vyQgrdLmnKdvImbXNGBgJKZ9kCQGB1leO0j32yHBZ179VB9XmbH1khZDAPN9iXmF4oyaseSb7r3Q6rDwSi/eLPehPZGsF1JDZwRrGu2E5T6wjUFIg=');

